import { apiConfig } from './util/apiConfig.js'
import { request } from './util/request.js'
// localStorage
//import { setLocalStorage, getLocalStorage} from './util/storage.js'

// 首屏数据
export function getIndexFirstPaintInfo() {
	const data = Object.assign({}, apiConfig.params, {
		cid: '',
		app_version: '',
		platform: '',
		catname: 'newest_zhe'
	})
	return request.get(apiConfig.apiUrl + 'getIndexFirstPaintInfo', data)
}

export function getIndexNavSkip() {
	const data = Object.assign({}, apiConfig.params, {
		page: 1,
		catname: 'newest_zhe'
	})
	return request.get(apiConfig.apiUrl + 'getIndexNavSkip', data)
}
